<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE6">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<link rel="shortcut icon" href="<%=basePath%>favicon.ico" />
<link rel="stylesheet" type="text/css" href="<%=basePath%>css/all_b.css?20161126">
<script type="text/javascript"
	src="<%=basePath%>js/jquery.min.js?20161126"></script>
<script type="text/javascript"
	src="<%=basePath%>js/layer/layer.js?20161126"></script>
<title>管理员- 系统后台查询当月报表</title>
</head>
<body style="" id="bodyModule">
	<jsp:include page="../commons/manage_head.jsp" flush="true"></jsp:include>
	<div style="height: 100%;" id="layout" class="container">
		<div style="display: block;" id="rightLoader"
			class="main-content bet-content">
			<div id="memberList" class="page">
				<div class="title">
					开始日期
					<input maxlength="16" id="se_con" type="text" value="${userNo }"
						placeholder="请输入开始日期...">
					结束日期
					<input maxlength="16" id="se_con" type="text" value="${userNo }"
						placeholder="请输入结束日期..."> <a href="javascript:void(0)"
						id="search" class="mag-btn1">查询</a>
				</div>
				<table class="clear-table mag-list" id="memeber_tb">
					<thead>
						<tr>
							<th>序号</th>
							<th class="t-l">日期</th>
							<th class="t-l">今日投注总和</th>
							<th class="t-l">今日中奖总和</th>
							<th class="t-l">今日利润和</th>
							<th>今天运营</th>
						</tr>
					</thead>
					<tbody id="accounts_tb">
						<c:forEach items="${winList}" var="sb" varStatus="st">
							<tr>
								<td>${st.count}</td>
								<td class="t-l"><fmt:formatDate value="${sb.checkDate}"
										type="both" pattern="yyyy-MM-dd" /></td>
								<td class="t-l"><fmt:formatNumber
										value="${sb.cathecticInt}" pattern="0.##" /></td>
								<td class="t-l"><fmt:formatNumber value="${sb.winAmt}"
										pattern="0.##" /></td>
								<td class="t-l"><fmt:formatNumber
										value="${sb.cathecticInt-sb.winAmt}" pattern="0.##" /></td>
								<td><c:if test="${(sb.cathecticInt-sb.winAmt)>=0}">盈利</c:if>
									<c:if test="${(sb.cathecticInt-sb.winAmt)<0}">亏本</c:if></td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
		</div>
	</div>
</body>
</html>